#ifndef __PACKET_HPP__
#define __PACKET_HPP__

#include <iostream>

#include "Block.hpp"

class Packet {

	private:
		const unsigned char *Data;
		unsigned int Length;

	public:
		Packet();
		Packet(const unsigned char *Data, unsigned int Length);

		void Set(const unsigned char *Data, unsigned int Length);
		const unsigned char *GetData() const;
		unsigned int GetLength() const;

		Block GetBSSID() const;
		Block GetSrcMAC() const;
		Block GetDstMAC() const;
		Block GetWEP_IV() const;
		Block GetWEP_Payload() const;

		void Dump() const;
};

#endif

